<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $score=80;
        $cj1="";
        $cj2="";
        $cj3="";
        $cj4="";
        $cj5="";
        if ($score >= 90 and $score <= 100) 
        {
            $cj1 = "<img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' />";
        }
        elseif ($score >= 80 and $score < 90)
        {   
           $cj2 = "<img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' />";
        }
        elseif ($score >= 70 and $score < 80)
        {  
           $cj3 = "<img src='haha.gif' width='50' height='50' /><img src='haha.gif' width='50' height='50' />";
        }
        elseif ($score >= 60 and $score < 70)
        {  
           $cj4 = "<img src='haha.gif' width='50' height='50' />";
        }
        else
        {
           $cj5 = "<img src='cry.jpg' width='50' height='50' />";
        }
       ?>
        <table width="500" border="1">
  <tbody>
    <tr>
      <td width="100" align="center"><strong>成绩等级</strong></td>
      <td width="90" align="center"><?php echo $score; ?></td>
    </tr>
    <tr>
      <td align="center" height='50'>优秀</td>
      <td align="center"><?php echo $cj1; ?></td>
    </tr>
    <tr>
      <td align="center" height='50'>良好</td>
      <td align="center"><?php echo $cj2; ?></td>
    </tr>
    <tr>
      <td align="center" height='50'>中等</td>
      <td align="center"><?php echo $cj3; ?></td>
    </tr>
    <tr>
      <td align="center" height='50'>及格</td>
      <td align="center"><?php echo $cj4; ?></td>
    </tr>
    <tr>
      <td align="center" height='50'>不及格</td>
      <td align="center"><?php echo $cj5; ?></td>
    </tr>
  </tbody>
</table>

    </body>
</html>
